﻿@model LERP.Web.Controllers.ViewModels.ContractViewModels.ContractViewModel
@{
    ViewBag.Title = "新建合同";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>基本信息 </legend>
        <ul class="list_form">
         
            <li>
                @Html.LabelFor(model => model.Code)
                @Html.TextBoxFor(m => m.Code,  new { @class = "text-long" })   
                @Html.ValidationMessageFor(model => model.Code)
            </li>
            <li>
                @Html.LabelFor(model => model.Customer)
                @Html.DropDownListFor(m => m.Customer, (ViewBag.Customers as List<SelectListItem>),new { @class = "text-long" })   
                @Html.ValidationMessageFor(model => model.Customer)
            </li>
            <li> @Html.LabelFor(model => model.BeginTime)    
                  @Html.TextBoxFor(model => model.BeginTime, new {@class = "text-long dataselect"}) 
                @Html.ValidationMessageFor(model => model.BeginTime)
            </li>
            <li> @Html.LabelFor(model => model.EndTime)    
                   @Html.TextBoxFor(model => model.EndTime, new {@class = "text-long dataselect"}) 
                @Html.ValidationMessageFor(model => model.EndTime)
            </li>
             
      
        </ul>
    </fieldset>
    
    <input type="submit" class="button-submit" value="保存" />
  
    <br />
    <br />
    <br />
} 
